<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!-- 抽取sidebar -->
<nav class="col-md-2 d-none d-md-block bg-light sidebar" th:fragment="sidebar">
    <div class="sidebar-sticky">
        <ul class="nav flex-column">
            <li class="nav-fill">
                <a class="nav-item active" href="/foodshare/main/index"
                th:class="${active=='main'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                         fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                         stroke-linejoin="round" class="feather">
                        <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
                        <polyline points="9 22 9 12 15 12 15 22"></polyline>
                    </svg>
                    主页 <span class="sr-only">(current)</span>
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/category/list"
                th:class="${active=='category'?'nav-link active':'nav-link'}">
                    <svg t="1586519442671" class="feather" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9474" width="16" height="16"><path d="M787.2 1017.6c-128 0-230.4-102.4-230.4-230.4s102.4-230.4 230.4-230.4 230.4 102.4 230.4 230.4-102.4 230.4-230.4 230.4z m0-384c-83.2 0-153.6 70.4-153.6 153.6s70.4 153.6 153.6 153.6 153.6-70.4 153.6-153.6-64-153.6-153.6-153.6z m-665.6 384c-64 0-115.2-51.2-115.2-115.2v-230.4c0-64 51.2-115.2 115.2-115.2h230.4c64 0 115.2 51.2 115.2 115.2v230.4c0 64-51.2 115.2-115.2 115.2H121.6z m0-384c-19.2 0-38.4 19.2-38.4 38.4v230.4c0 19.2 19.2 38.4 38.4 38.4h230.4c19.2 0 38.4-19.2 38.4-38.4v-230.4c0-19.2-19.2-38.4-38.4-38.4H121.6z m550.4-166.4c-64 0-115.2-51.2-115.2-115.2V121.6c0-64 51.2-115.2 115.2-115.2h230.4c64 0 115.2 51.2 115.2 115.2v230.4c0 64-51.2 115.2-115.2 115.2h-230.4z m0-384c-19.2 0-38.4 19.2-38.4 38.4v230.4c0 19.2 19.2 38.4 38.4 38.4h230.4c19.2 0 38.4-19.2 38.4-38.4V121.6c0-19.2-19.2-38.4-38.4-38.4h-230.4z m-550.4 384C57.6 467.2 6.4 416 6.4 352V121.6C6.4 57.6 57.6 6.4 121.6 6.4h230.4c64 0 115.2 51.2 115.2 115.2v230.4c0 64-51.2 115.2-115.2 115.2H121.6z m0-384c-19.2 0-38.4 19.2-38.4 38.4v230.4c0 19.2 19.2 38.4 38.4 38.4h230.4c19.2 0 38.4-19.2 38.4-38.4V121.6c0-19.2-19.2-38.4-38.4-38.4H121.6z" p-id="9475" fill="#707070"></path></svg>
                    美食类别管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/food/list"
                 th:class="${active=='food'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                         fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                         stroke-linejoin="round" class="feather">
                        <circle cx="9" cy="21" r="1"></circle>
                        <circle cx="20" cy="21" r="1"></circle>
                        <path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
                    </svg>
                    美食信息管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/news/list"
                   th:class="${active=='news'?'nav-link active':'nav-link'}">
                    <svg t="1586519366091" class="feather" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8915" width="16" height="16">
                        <path d="M432 608h-128c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32zM592 448H304c-17.6 0-32 14.4-32 32s14.4 32 32 32h288c17.6 0 32-14.4 32-32s-14.4-32-32-32zM592 288H304c-17.6 0-32 14.4-32 32s14.4 32 32 32h288c17.6 0 32-14.4 32-32s-14.4-32-32-32z" fill="#707070" p-id="8916"></path><path d="M784 256v-32c0-70.4-57.6-128-128-128H240c-70.4 0-128 57.6-128 128v576c0 70.4 57.6 128 128 128h544c70.4 0 128-57.6 128-128V384c0-70.4-57.6-128-128-128z m64 544c0 35.2-28.8 64-64 64H240c-35.2 0-64-28.8-64-64V224c0-35.2 28.8-64 64-64h416c35.2 0 64 28.8 64 64v480c0 17.6 14.4 32 32 32s32-14.4 32-32V320c35.2 0 64 28.8 64 64v416z" fill="#707070" p-id="8917"></path></svg>
                    美食资讯管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/user/list"
                th:class="${active=='user'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                         fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                         stroke-linejoin="round" class="feather">
                        <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
                        <circle cx="9" cy="7" r="4"></circle>
                        <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
                        <path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
                    </svg>
                    用户管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/edit/list"
                th:class="${active=='edit'?'nav-link active':'nav-link'}">
                    <svg t="1586519492379" class="feather" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10283" width="16" height="16"><path d="M789.485849 958.547289 231.866858 958.547289c-56.011688 0-101.387132-50.151213-101.387132-112.022353L130.479727 566.468542c0-61.871139 45.376467-112.022353 101.387132-112.022353l0-84.015486c0-170.142052 124.805494-308.061214 278.808984-308.061214 153.977907 0 278.810007 137.920186 278.810007 308.061214l0 1.749854-0.318248 0c-0.873903 14.600533-11.588943 26.254967-25.035186 26.254967-13.418614 0-24.160259-11.655458-25.009603-26.254967l-0.317225 0 0-1.749854c0-139.206482-102.131075-252.05055-228.128721-252.05055-125.998669 0-228.102115 112.844068-228.102115 252.05055l0 84.015486 506.912122 0c55.984059 0 101.388155 50.151213 101.388155 112.022353l0 280.057417C890.874003 908.396075 845.470931 958.547289 789.485849 958.547289L789.485849 958.547289M840.166111 566.468542c0-30.93557-22.673395-56.011688-50.680263-56.011688L231.866858 510.456854c-28.005844 0-50.707892 25.076118-50.707892 56.011688l0 280.057417c0 30.93557 22.702048 56.010665 50.707892 56.010665l557.620014 0c27.978215 0 50.680263-25.075095 50.680263-56.010665L840.167135 566.468542 840.166111 566.468542M536.003693 728.84063l0 89.678462c0 15.462157-11.32493 28.005844-25.327852 28.005844-14.002922 0-25.352411-12.544711-25.352411-28.005844l0-89.678462c-29.385261-11.603269-50.682309-41.890063-50.682309-78.342276 0-46.408983 34.026978-84.029812 76.03472-84.029812 41.981137 0 76.033697 37.620829 76.033697 84.029812C586.711586 686.950568 565.388954 717.237361 536.003693 728.84063L536.003693 728.84063M510.675842 622.479207c-14.002922 0-25.352411 12.543687-25.352411 28.019147 0 15.44783 11.349489 27.992541 25.352411 27.992541 14.002922 0 25.327852-12.544711 25.327852-27.992541C536.003693 635.022894 524.678764 622.479207 510.675842 622.479207L510.675842 622.479207M510.675842 622.479207 510.675842 622.479207z" p-id="10284" fill="#707070"></path></svg>
                    修改密码
                </a>
            </li>
        </ul>

        <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
            <span style="font-size:15px">系统管理</span>
            <a class="d-flex align-items-center text-muted" href="#">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                     stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                     class="feather">
                    <circle cx="12" cy="12" r="10"></circle>
                    <line x1="12" y1="8" x2="12" y2="16"></line>
                    <line x1="8" y1="12" x2="16" y2="12"></line>
                </svg>
            </a>
        </h6>
        <ul class="nav flex-column mb-2">
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/main/intro"
                   th:class="${active=='intro'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                         fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                         stroke-linejoin="round" class="feather">
                        <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
                        <polyline points="14 2 14 8 20 8"></polyline>
                        <line x1="16" y1="13" x2="8" y2="13"></line>
                        <line x1="16" y1="17" x2="8" y2="17"></line>
                        <polyline points="10 9 9 9 8 9"></polyline>
                    </svg>
                    系统简介
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/notice/list"
                   th:class="${active=='notice'?'nav-link active':'nav-link'}">
                    <svg t="1586518993367" class="feather" viewBox="0 0 1024 1024" version="1.1"
                         xmlns="http://www.w3.org/2000/svg" p-id="6432" width="16" height="16">
                        <path d="M642.744 1013.924c-7.588 0-15.063-2.775-20.94-8.1L317.07 731.597h-176.23c-50.453 0-125.481-33.424-125.481-125.481V417.905c0-50.453 33.444-125.481 125.47-125.481H317L621.732 18.135c9.206-8.346 22.456-10.353 33.74-5.325a31.315 31.315 0 0 1 18.637 28.672v941.066c0 12.37-7.219 23.655-18.565 28.683a31.639 31.639 0 0 1-12.8 2.693z m-501.913-658.75c-59.73 0-62.73 52.255-62.73 62.74v188.212c0 59.658 52.264 62.74 62.73 62.74h188.21c7.783 0 15.248 2.878 20.952 8.1l261.376 235.131V111.923L350.075 347.075c-5.775 5.201-13.23 8.1-21.023 8.1H140.831zM799.58 323.8c-7.957 0-16.047-3.082-22.201-9.165-12.237-12.226-12.237-32.123 0-44.36l125.48-125.48c12.227-12.217 32.103-12.217 44.36 0 12.227 12.236 12.227 32.133 0 44.37l-125.47 125.47c-6.103 6.083-14.06 9.165-22.17 9.165zM987.8 543.375h-188.22c-17.245 0-31.366-14.039-31.366-31.365 0-17.316 14.121-31.365 31.365-31.365h188.222c17.377 0 31.365 14.06 31.365 31.365 0 17.326-13.988 31.365-31.365 31.365z m-62.74 345.068a31.582 31.582 0 0 1-22.2-9.165L777.38 753.798c-12.237-12.227-12.237-32.103 0-44.36 12.226-12.217 32.102-12.217 44.37 0l125.47 125.47c12.227 12.257 12.227 32.144 0 44.37-6.092 6.093-14.049 9.165-22.159 9.165z m0 0" fill="#8a8a8a" p-id="6433"></path></svg>
                    系统公告
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/message/list"
                   th:class="${active=='message'?'nav-link active':'nav-link'}">
                    <svg t="1586519271288" class="feather" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7623" width="16" height="16">
                        <path d="M311.85 397.63c26.32 0 47.65 21.34 47.65 47.65s-21.34 47.65-47.65 47.65c-26.32 0-47.65-21.34-47.65-47.65s21.33-47.65 47.65-47.65zM521.53 397.63c26.32 0 47.65 21.34 47.65 47.65s-21.34 47.65-47.65 47.65-47.65-21.34-47.65-47.65 21.33-47.65 47.65-47.65zM731.21 397.63c26.32 0 47.65 21.34 47.65 47.65s-21.34 47.65-47.65 47.65c-26.32 0-47.65-21.34-47.65-47.65s21.33-47.65 47.65-47.65z" p-id="7624" fill="#8a8a8a"></path><path d="M512 883.7c-10.26 0-19.73-5.5-24.83-14.41l-57.11-99.96H187.95c-36.78 0-66.72-29.93-66.72-66.72v-495.6c0-36.78 29.93-66.72 66.72-66.72h648.1c36.78 0 66.72 29.93 66.72 66.72v495.6c0 36.78-29.93 66.72-66.72 66.72H593.94l-57.11 99.96A28.613 28.613 0 0 1 512 883.7zM187.95 197.48c-5.25 0-9.53 4.27-9.53 9.53v495.6c0 5.26 4.28 9.53 9.53 9.53h258.69c10.26 0 19.73 5.5 24.83 14.41L512 797.48l40.52-70.92a28.625 28.625 0 0 1 24.83-14.41h258.69c5.25 0 9.53-4.27 9.53-9.53v-495.6c0-5.26-4.28-9.53-9.53-9.53H187.95z" p-id="7625" fill="#8a8a8a"></path></svg>
                    留言管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/foodshare/link/list"
                   th:class="${active=='link'?'nav-link active':'nav-link'}">
                    <svg t="1586519318232" class="feather" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7937" width="16" height="16"><path d="M894.528 150.4a195.072 195.072 0 0 0-270.912-52.288L359.424 276.992a195.072 195.072 0 0 0-52.16 270.912c56.768 83.904 167.04 108.288 254.208 60.736l-0.384-0.832c1.92-0.896 3.904-1.216 5.76-2.432a34.496 34.496 0 1 0-35.52-59.2H531.2l-0.448-0.768c-57.344 34.56-128.64 24.128-166.656-32.064a127.552 127.552 0 0 1 34.112-177.152l258.816-175.168a127.552 127.552 0 0 1 177.152 34.112c39.488 58.368 26.816 127.488-31.552 166.976l-39.488 27.52a35.392 35.392 0 1 0 39.68 58.624c0.32-0.192 0.448-0.576 0.768-0.768l38.72-26.176a195.072 195.072 0 0 0 52.224-270.912z" fill="#8a8a8a" p-id="7938"></path><path d="M453.888 411.328l0.448 0.832c-1.92 0.896-3.968 1.28-5.76 2.56a34.496 34.496 0 1 0 36.992 58.24l0.064 0.128 0.512 0.64c56.448-35.968 128-27.264 167.424 28.032 40.96 57.344 27.584 136.96-29.76 177.92L369.28 861.184c-57.344 40.896-136.96 27.52-177.92-29.76-40.896-57.344-29.952-126.784 27.456-167.68l38.784-28.544a35.392 35.392 0 1 0-41.088-57.6c-0.32 0.192-0.448 0.576-0.768 0.768l-38.08 27.136a195.072 195.072 0 0 0 226.56 317.632l259.712-185.28a195.072 195.072 0 0 0 45.504-272.128c-58.816-82.432-169.6-104.064-255.616-54.4z" fill="#8a8a8a" p-id="7939"></path></svg>
                    友情链接
                </a>
            </li>
        </ul>
    </div>
</nav>
</body>
</html>